CVE-2025-38495
HID: core: ensure the allocated report buffer can contain the reserved report ID
Description
In the Linux kernel, the following vulnerability has been resolved: HID: core: ensure the allocated report buffer can contain the reserved report ID When the report ID is not used, the low level transport drivers expect the first byte to be 0. However, currently the allocated buffer not account for that extra byte, meaning that instead of having 8 guaranteed bytes for implement to be working, we only have 7.
INFO
Published Date :
July 28, 2025, 12:15 p.m.
Last Modified :
Aug. 28, 2025, 3:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel.
- Ensure HID report buffers account for the report ID byte.
Public PoC/Exploit Available at Github
CVE-2025-38495 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-38495
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-38495
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-38495
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
My proof-of-concept exploits for the Linux kernel
linux-kernel kernel-exploitation exploit privilege-escalation
Python C
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-38495
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38495
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 28, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/7228e36c7875e4b035374cf68ca5e44dffa596b2 Added Reference https://git.kernel.org/stable/c/7fa83d0043370003e9a0b46ab7ae8f53b00fab06 Added Reference https://git.kernel.org/stable/c/9f2892f7233a8f1320fe671d0f95f122191bfbcd -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 28, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: HID: core: ensure the allocated report buffer can contain the reserved report ID When the report ID is not used, the low level transport drivers expect the first byte to be 0. However, currently the allocated buffer not account for that extra byte, meaning that instead of having 8 guaranteed bytes for implement to be working, we only have 7. Added Reference https://git.kernel.org/stable/c/4f15ee98304b96e164ff2340e1dfd6181c3f42aa Added Reference https://git.kernel.org/stable/c/a262370f385e53ff7470efdcdaf40468e5756717 Added Reference https://git.kernel.org/stable/c/a47d9d9895bad9ce0e840a39836f19ca0b2a343a Added Reference https://git.kernel.org/stable/c/d3ed1d84a84538a39b3eb2055d6a97a936c108f2 Added Reference https://git.kernel.org/stable/c/fcda39a9c5b834346088c14b1374336b079466c1